isiot: Fix to use usdhc2_pads for mmc2
authorJagan Teki <[email protected]>
Sat, 6 May 2017 21:13:10 +0000 (02:43 +0530)
committerStefano Babic <[email protected]>
Thu, 18 May 2017 09:23:31 +0000 (11:23 +0200)
mmc2 in Is.IoT using usdhc1_pads instead usdhc2_pads,
so update the same.

Cc: Stefano Babic <[email protected]>
Cc: Matteo Lisi <[email protected]>
Cc: Michael Trimarchi <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
board/engicam/isiotmx6ul/isiotmx6ul.c

index 008a7ae25f54d32dccefedab40091c77cdb948f1..068e2d9bf7e9996846d8683020b084ded01ef0fb 100644 (file)
@@ -260,7 +260,7 @@ int board_mmc_init(bd_t *bis)
                        break;
                case 1:
                        imx_iomux_v3_setup_multiple_pads(
-                               usdhc1_pads, ARRAY_SIZE(usdhc2_pads));
+                               usdhc2_pads, ARRAY_SIZE(usdhc2_pads));
                        gpio_direction_input(USDHC2_CD_GPIO);
                        usdhc_cfg[i].sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK);
                        break;